package edu.sctu.practice.class01.fengleilin.test07;

/**
 * Created by fll on 2015/10/13.
 */
public class WuMingFen {

    private String theMa;
    private int quantity;
    private boolean likeSoup;

    public WuMingFen() {
        this("酸辣", 2, true);
    }

    public WuMingFen(String theMa, int quantity) {
        this.theMa = theMa;
        this.quantity = quantity;
    }

    public WuMingFen(String theMa, int quantity, boolean likeSoup) {
        this.theMa = theMa;
        this.quantity = quantity;
        this.likeSoup = likeSoup;
    }

    public void check(){
        System.out.println("面码：" + theMa + "\n 粉的份量：" + quantity + "\n 是否带汤：" + likeSoup);

    }
}
